// main.c
#include <stdio.h>
long exchange(long*, long);

int main(){
    long a = 4;
    long b = exchange(&a, 3);
    printf("a = %ld, b = %ld\n", a, b);
    return 0;
}

// gcc -O2 -o prog main.c exchange.c